package com.middlegroup.pay.service.impl;

import com.middlegroup.pay.entity.OutBills;
import com.middlegroup.pay.mapper.OutBillsMapper;
import com.middlegroup.pay.service.OutBillsService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * <p>
 * 出款订单表 服务实现类
 * </p>
 *
 * @author pc123
 * @since 2019-01-04
 */
@Service
public class OutBillsServiceImpl extends ServiceImpl<OutBillsMapper, OutBills> implements OutBillsService {

    @Resource
    private OutBillsMapper outBillsMapper;

    @Override
    public OutBills getByBillNo(String billNo) {
        return outBillsMapper.getByBillNo(billNo);
    }

    @Override
    public OutBills getByMerchantBillNo(String merchantCode, String merchantBillNo) {
        return outBillsMapper.getByMerchantBillNo(merchantCode,merchantBillNo);
    }
}
